<template>
   
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="#1baeae">
      <van-swipe-item v-for="item in swiper" :key="item.goodsId"><img :src="item.carouselUrl" alt=""></van-swipe-item>
    </van-swipe>
</template>

<script>
export default {
    props:{
        swiper:Array 
    }
}
</script>

<style lang="less" scoped>
.my-swipe{
    top: 0;
}
.my-swipe img{
      width: 100%;
      height: 100%;
    }
</style>